package cn.spamc.service.impl;

import cn.spamc.mapper.SelectInformationMapper;
import cn.spamc.pojo.SelectInformation;
import cn.spamc.pojo.StudentInformation;
import cn.spamc.service.SelectInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.test.context.ContextConfiguration;

import java.util.List;

@Service
@ContextConfiguration(locations = {"classpath:applicationContext.xml", "classpath:dispatcher-servlet.xml"})
public class SelectInformationServiceImpl implements SelectInformationService {
    @Autowired
    SelectInformationMapper selectInformationMapper;
    public List<StudentInformation> getStudentListByCondition(SelectInformation selectInfo) {
        return selectInformationMapper.getStudentListByCondition(selectInfo);
    }
}
